from fastapi import APIRouter
from app.api import product, ai, admin, debug

api_router = APIRouter()
api_router.include_router(product.router, prefix="/products", tags=["products"])
api_router.include_router(ai.router, prefix="/ai", tags=["ai"])
api_router.include_router(admin.router, prefix="/admin", tags=["admin"])
api_router.include_router(debug.router, prefix="/debug", tags=["debug"])

# 将产品对比路由单独注册，与products分开
api_router.include_router(product.router, tags=["compare"]) 